package com.mdc.mansion.dataaccess.modules.restaurant.entity;

import com.mdc.mansion.dataaccess.common.persistence.BaseEntity;
/**
 * 餐厅扩展信息持久类
 * @author mingdongc
 * @version 2018-01-01
 */
public class RestaurantExt extends BaseEntity<RestaurantExt>{
	private static final long serialVersionUID = 1L;
    private String restaurantId;
    private String type;
    private String val;

    public String getRestaurantId(){
        return restaurantId;
    }

    public void setRestaurantId(String restaurantId){
        this.restaurantId=restaurantId;
    }

    public String getType(){
        return type;
    }

    public void setType(String type){
        this.type=type;
    }

    public String getVal(){
        return val;
    }

    public void setVal(String val){
        this.val=val;
    }

    public enum TYPE{
        IMG("餐厅图片","img"),
        PRINT("打印机","print"),
        DISHES_UNIT("菜品单位","restaurant_dishes_unit");
        private String name;
        private String val;
        TYPE(String name, String val) {
            this.name = name;
            this.val = val;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getVal() {
            return val;
        }

        public void setVal(String val) {
            this.val = val;
        }
    }
}